<?php
/*
	This file is part of UserMgmt.

	Author:
*/
?>
<div id="dashboard" class="negative">
	<ul class="nav-left">
		<?php   if ($this->UserAuth->getGroupName()=='Admin') { ?>
		<li><?php echo $this->Html->link(__("Dashboard",true),"/dashboard") ?></li>
		<li><?php echo $this->Html->link(__("All Users",true),"/allUsers") ?></li>
		<li><?php echo $this->Html->link(__("Add Group",true),"/addGroup") ?></li>
		<li><?php echo $this->Html->link(__("All Groups",true),"/allGroups") ?></li>
		<li><?php echo $this->Html->link(__("Permissions",true),"/permissions") ?></li>
		<li><?php echo $this->Html->link(__("Profile",true),"/viewUser/".$this->UserAuth->getUserId()) ?></li>
		<li><?php echo $this->Html->link(__("Edit Profile",true),"/editUser/".$this->UserAuth->getUserId()) ?></li>
		<?php   } else {?>
		<li><?php echo $this->Html->link(__("Profile",true),"/myprofile") ?></li>
		<?php   }?>
		<li><?php echo $this->Html->link(__("Change Password",true),"/changePassword") ?></li>
	</ul>

	<div style="clear:both"></div>
</div>